//
//  StudioheadView.h
//  Arts1
//
//  Created by 孤星晨宇 on 15/9/21.
//  Copyright (c) 2015年 Arts1. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AreaModel.h"

@protocol StudioHeadViewDelegate <NSObject>

- (void)changeStudioByArea:(AreaModel *)area;

@end

@interface StudioheadView : UIView<UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>

@property (nonatomic, strong) UICollectionView *mainCollectionview;
@property (nonatomic, assign) NSInteger count;
@property (nonatomic, strong) NSTimer *timer;

@property (nonatomic, strong) NSMutableArray *dataArr; // 数据源

@property (nonatomic, assign) id<StudioHeadViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame;

@end
